package com.niit.mall.order.domain.dto;


import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @BelongsProject: pardo_mall_backend
 * @BelongsPackage: com.niit.mall.order.domain.dto
 * @Author: XihenXi
 * @CreateTime: 2025-06-17  16:20
 * @Description: TODO
 * @Version: 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderOperateHistoryDTO {

    /**
     * 订单操作历史记录id
     */
    private Long id;

    /**
     * 订单id
     */
    private Long orderId;

    /**
     * 操作人：用户；系统；后台管理员
     */
    private Long operateUser;

    /**
     * 操作时间
     */
    private LocalDateTime operateTime;

    /**
     * 订单状态：0->待付款；1->待发货；2->已发货；3->已完成；4->已关闭；5->无效订单
     */
    private Integer orderStatus;

    /**
     * 备注
     */
    private String note;

    /**
     * 创建日期
     */
    private LocalDate createDate;

    /**
     * 更新日期
     */
    private LocalDate updateDate;
}
